<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="f" uri="http://java.sun.com/jsf/core" %>
<%@taglib prefix="h" uri="http://java.sun.com/jsf/html" %>
<%@taglib prefix="rich" uri="http://richfaces.org/rich" %>
<%@taglib prefix="a4j" uri="http://richfaces.org/a4j" %>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="../css/popup.css"/>

<link rel="stylesheet" type="text/css" href="../css/kapiform.css"/>
<script type="text/javascript">
    var open_cur = 0;
    $j = jQuery.noConflict();
    $j(document).ready(function(){
              
    

    });
</script>
<f:view>

    <h:form>
        <f:loadBundle basename="#{environmentSession.localizationSource}" var="locale"/>

        <div class="popup" style="height:150px; width:350px">
            <div class="popup-header">
                <div class="title"><h:outputText value="Thêm khách hàng vào tour"/></div>
            </div>
            <div class="popup-content">
                <div class="main_content" style="padding:20px 84px">
                    <font style="font-weight:bold"><h:outputText value="Bạn có muốn thêm Công ty vào tour ?"/></br><h:outputText value="#{TourBean.vv051}" style="color:#3184C4;margin-left:60px;line-height:22px;"/></font>                   
                </div>
            </div>
            <div class="popup-footer">              
                <div class="buttonsave" style="margin-right: 63px;" onclick="jQuery.fancybox.close() "><span><h:outputText value="#{locale.close}"/></span></div>
                <a4j:commandButton action="#{TourBean.updateaddCompanyTour}" value="Lưu" styleClass="buttonsave">
                    <f:param value="#{TourBean.fv050}" name="fv050"/>  
                    <f:param value="#{TourBean.fk100}" name="fk100"/>   
                    <f:param value="#{TourBean.vv051}" name="vv031"/>
                    <f:param value="#{TourBean.vn055St}" name="vn055"/>
                    
                </a4j:commandButton>
                <h:inputHidden value="#{TourBean.fk100}" id="fk100"/>
            </div>
        </div>

    </h:form>
</f:view>
<script type="text/javascript">
    $j(document).ready(function(){
        yhight = ($j('.popup').height()-90)+"px" ;
        $j('.main_content').css('height',yhight );
        $j('.popup-content').css('height',yhight );
    });
</script>